home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech's Sprocket™ / SprocketGX / AppSpecific / GXDocFile.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-16  |  698 b   |  43 lines  |  [TEXT/BROW]

  1. /*
  2.     File:        GXFile.h
  3.  
  4.     Contains:    The prototype GX file
  5.                 
  6.     Written by: Jon Summers
  7.     
  8.     Copyright:    © 1994 by Jon Summers, all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.      
  12.  */
  13.  
  14. #ifndef        _GXDocFile_
  15. #define        _GXDocFile_
  16.  
  17. #ifndef        _DOCFILE_
  18.     #include    "DocFile.h"
  19. #endif
  20.  
  21. #ifndef    __QDGXHeaders__
  22.     #include    "QDGXHeaders.h"
  23. #endif
  24.  
  25. class    TGXDocFile    :    public TDocFile
  26. {
  27.     public:
  28.                     TGXDocFile();
  29.         virtual         ~TGXDocFile();
  30.  
  31.     protected:
  32.         long      fPagesInDoc;
  33.     public:
  34. #if    qUseQuickDrawGX
  35.         OSErr    GetDocNumOfPages(void);
  36.         OSErr    ReadPageShape(long  thePageNum, gxShape* pShape, gxViewPort  theViewPort);
  37. #endif    // qUseQuickDrawGX
  38.         long    DocNumOfPages(void)    { return fPagesInDoc; }
  39.  
  40. };
  41.  
  42. #endif
  43.